<!---
	Here you can add routes to your application and edit the default one.
	The default route is the one that will be called on your application's "home" page.
--->
<cfset addRoute(name="home", pattern="", controller="setup", action="index")>

<cfset addRoute(name="adminSeason", pattern="admin/seasons/[action]/[key]", controller="adminSeason", action="index")>
<cfset addRoute(name="adminSeason", pattern="admin/seasons/[action]", controller="adminSeason", action="index")>
<cfset addRoute(name="adminSeason", pattern="admin/seasons", controller="adminSeason", action="index")>

<cfset addRoute(name="adminResults", pattern="admin/results/[action]/[key]", controller="adminResults", action="index")>
<cfset addRoute(name="adminResults", pattern="admin/results/[action]", controller="adminResults", action="index")>
<cfset addRoute(name="adminResults", pattern="admin/results", controller="adminResults", action="index")>

<cfset addRoute(name="adminLadders", pattern="admin/ladders/[action]/[key]", controller="adminLadders", action="index")>
<cfset addRoute(name="adminLadders", pattern="admin/ladders/[action]", controller="adminLadders", action="index")>
<cfset addRoute(name="adminLadders", pattern="admin/ladders", controller="adminLadders", action="index")>

<cfset addRoute(name="enterResults", pattern="results/[action]/[key]/season/[seasonid]", controller="results", action="index")>
<cfset addRoute(name="enterResults", pattern="results/[action]/[key]", controller="results", action="index")>
<cfset addRoute(name="enterResults", pattern="results/[action]", controller="results", action="index")>
<cfset addRoute(name="enterResults", pattern="results", controller="results", action="index")>


<cfset addRoute(name="teams", pattern="teams/[action]/[key]", controller="teams", action="index")>
<cfset addRoute(name="teams", pattern="teams/[action]", controller="teams", action="index")>
<cfset addRoute(name="teams", pattern="teams", controller="teams", action="index")>


<cfset addRoute(name="redirecter", pattern="[controller]/[action]/[key]/redirect/[params]", controller="[controller]", action="index")>